<ion-view title="销售订单分析">
    <div class="tabs-icon-top tabs-top tabs-striped">
        <div class="tabs" id="s">
            <a href="" class="tab-item" ng-class="{active:data.activeType==='SO'}" ng-click="setActiveType('SO');">
                <i class="icon ion-ios-pulse"></i>
                订货金额
            </a>
            <a href="" class="tab-item" ng-class="{active:data.activeType==='Ship'}" ng-click="setActiveType('Ship');">
                <i class="icon ion-ios-pulse"></i>
                出货金额
            </a>
            <a href="" class="tab-item" ng-class="{active:data.activeType==='SDReceiveDetail'}"
               ng-click="setActiveType('SDReceiveDetail');">
                <i class="icon ion-ios-pulse"></i>
                收款金额
            </a>
            <a href="" class="tab-item" ng-class="{active:data.activeType==='SDARConfirmDetail'}"
               ng-click="setActiveType('SDARConfirmDetail');">
                <i class="icon ion-ios-pulse"></i>
                立账金额
            </a>
        </div>
    </div>
    <ion-content class="has-tabs-top">
        <div>
            <div id="lineDom" style="padding:10px;" ng-click="domClick()"
                 ng-touchmove></div>
            <div id="pieDom" style="width:320px;height:240px;padding:10px 10px 0 10px;"></div>
        </div>
        <div id="imgCache" style="display: none;"></div>
        <canvas id="myCanvas" style="display: none;">
        </canvas>
    </ion-content>
</ion-view>

